# urls.py

from django.urls import path
from llm.views.v0.TestView import TestView
from llm.views.v0.FileUploadView import FileUploadView
from llm.views.v0.DeviceConfigAdd import AddDeviceConfig
from llm.views.v0.ThreadViews import GetThreads,GetHistoryMessages
from llm.views.v0.AssistantViews import AssistantGetAll

urlpatterns = [
    # jwt认证部分,可代为登录方式
    path('testAuth/', TestView.as_view(), name='testAuth'),
    path('file/upload/', FileUploadView.as_view(), name='fileUpload'),
    path('device/config/add/', AddDeviceConfig.as_view(), name='deviceConfigAdd'),
    path('thread/getAll/', GetThreads.as_view(), name='threadGetAll'),
    path('thread/message/getHistory/', GetHistoryMessages.as_view(), name='getHistoryMessages'),
    path('assistant/getAll/',AssistantGetAll.as_view(),name='assistantGetAll'),
    # path('audio/test/',AudioInputTest.as_view())


]
